package rs.etf.kdp.server;

public class NodeInfo
{
	boolean ok;
	boolean sent;
	String ipAddress;
	String name;
	
	public NodeInfo(boolean ok, String ipAddress, String name) {
		this.ok = ok;
		this.ipAddress = ipAddress;
		this.name = name;
		sent = false;
	}
	
	public NodeInfo()
	{
		ok = false;
		ipAddress = null;
		sent = false;
	}
	
	public NodeInfo(String ipAddress, String name)
	{
		this.name = name;
		ok = false;
		this.ipAddress = ipAddress;
		sent = false;
	}

	public boolean isOk() {
		return ok;
	}

	public void setOk(boolean ok) {
		this.ok = ok;
	}

	public String getIpAddress() {
		return ipAddress;
	}

	public void setIpAddress(String ipAddress) {
		this.ipAddress = ipAddress;
	}

	public boolean isSent() {
		return sent;
	}

	public void setSent(boolean sent) {
		this.sent = sent;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	
}
